package com.sanyang.pda.ui.manualpicking;

import android.widget.TextView;

import com.sanyang.pda.adapter.PickingStatisticsAdapter;
import com.sanyang.pda.contract.PickingStatisticsContract;
import com.sanyang.pda.presenter.PickingStatisticsPresenter;
import com.wangshen.base.ui.mvp.base.adapter.BaseAdapter;
import com.wangshen.base.ui.mvp.base.refresh.BaseRecyclerRefreshFragment;
import com.wangshen.base.ui.mvp.base.ui.BaseMvpFragment;
import com.wangshen.projectbase.R;

import java.util.ArrayList;

import butterknife.BindView;

public class PickingStatisticsFragment extends BaseRecyclerRefreshFragment<PickingStatisticsContract.View,PickingStatisticsPresenter> implements PickingStatisticsContract.View {

    private String entryNo;

    public PickingStatisticsFragment() {

    }

    public PickingStatisticsFragment(String entryNo) {
        this.entryNo = entryNo;
    }

    @Override
    public PickingStatisticsPresenter getPresenter() {
        return new PickingStatisticsPresenter(entryNo);
    }



    @Override
    public void initView() {

    }

    @Override
    public void initLinsenterner() {

    }

    @Override
    public void getData() {
        getRefreshLayout().autoRefresh();
    }

    @Override
    public BaseAdapter createRecyclerAdapter() {
        return new PickingStatisticsAdapter(R.layout.item_picking_statistics,new ArrayList<>());
    }
}
